let Template = [
    {
        id: 'Bar07_0001',
        component: 'Bar07', // string 数据集
        style: {
            width: {
                value: 510, // number
                pixel: 510,
                unit: 'px' // string
            },
            height: {
                value: 400, // number
                pixel: 400,
                unit: 'px' // string
            },
            top: {
                value: 0, // number
                pixel: 0,
                unit: 'px' // string
            },
            left: {
                value: 0, // number
                pixel: 0,
                unit: 'px' // string
            },
            bottom: {
                value: '',
                unit: 'px'
            },
            right: {
                value: '',
                unit: 'px'
            },
            backgroundImage: {
                angle: 90,
                color: []
            },
            borderRadius: {
                value: 0,
                unit: 'px'
            },
            borderWidth: 0,
            borderStyle: 'solid', // 边框样式 string
            borderColor: '#FFFFFF',
            boxShadow: {
                level: 0,
                vertical: 0,
                blur: 0,
                spread: 0,
                color: '#000000FF'
            },
            rotate: 0, // 旋转角度 number
            opacity: 100,
            'z-index': 1, // 面板层级 number
            backdropFilter: 0,
            filter: 0
        },
        attribute: {
            visible: true,
            colorGroup: ['#A1E3FD', '#91D0F8', '#81BCF2', '#70A7EB', '#6093E6', '#4F7FDF'], // 面板颜色组 array[string]
            chartOption: {
                type: 'bar',
                chartStyle: {
                    width: 8,
                    type: ''
                },
                option: {
                    legend: {
                        icon: "circle",
                        show: false,
                        itemWidth: 10,
                        itemheight: 10,
                        textStyle: {
                            color: '#FFFFFF',
                            fontStyle: 'normal',
                            fontWeight: 'normal',
                            fontSize: '12',
                        },
                        left: 'left',
                        top: 'top'
                    },
                    title: [{
                        text: '',
                        textStyle: {
                            color: '#FFFFFF',
                            fontStyle: 'normal',
                            fontWeight: 'normal',
                            fontSize: '18',
                        },
                        left: 'left',
                    }, {
                        text: '',
                        textStyle: {
                            color: '#FFFFFF',
                            fontStyle: 'normal',
                            fontWeight: 'normal',
                            fontSize: '14',
                        },
                        left: 'left',
                        top: '20',
                    }],
                    tooltip: {
                        trigger: 'axis',
                        axisPointer: {
                            // 坐标轴指示器，坐标轴触发有效
                            type: 'shadow', // 默认为直线，可选为：'line' | 'shadow'
                        },
                    },
                    grid: {
                        left: '3%',
                        right: '8%',
                        bottom: '8%',
                        top: '5%',
                        containLabel: true,
                    },
                    dataset: {
                        source: [
                            ['score', 'amount', 'product'],
                            [89.3, 58212, 'Matcha Latte'],
                            [57.1, 78254, 'Milk Tea'],
                            [74.4, 41032, 'Cheese Cocoa'],
                            [50.1, 12755, 'Cheese Brownie'],
                            [89.7, 20145, 'Matcha Cocoa'],
                            [68.1, 79146, 'Tea'],
                            [19.6, 91852, 'Orange Juice'],
                            [10.6, 101852, 'Lemon Juice'],
                            [32.7, 20112, 'Walnut Brownie']
                        ]
                    },
                    xAxis: {
                        name: 'amount',
                        // type: 'category',
                        axisTick: {   //刻度线
                            show: false,
                        },
                        axisLine: {   //轴线
                            show: true,
                            lineStyle: {
                                color: '#35404e',
                                width: 2,
                            },
                        },
                        axisLabel: {    //轴标签
                            show: true,
                            color: '#FFFFFF',
                            fontStyle: 'normal',
                            fontWeight: 'normal',
                            fontSize: '12',
                            interval: 'auto',
                            rotate: 0
                        },
                        splitLine: { //网格线
                            show: false,
                            lineStyle: {
                                color: '#33333333',
                                type: 'dashed'
                            }
                        }
                    },
                    yAxis: {
                        type: 'category',
                        axisTick: {   //刻度线
                            show: false,
                        },
                        axisLine: {   //轴线
                            show: false,
                            lineStyle: {
                                color: '#35404e',
                                width: 2,
                            },
                        },
                        axisLabel: {    //轴标签
                            show: true,
                            color: '#FFFFFF',
                            fontStyle: 'normal',
                            fontWeight: 'normal',
                            fontSize: '12',
                        },
                        splitLine: { //网格线
                            show: false,
                            lineStyle: {
                                color: '#33333333',
                                type: 'dashed'
                            },
                        }
                    },
                    visualMap: {
                        orient: 'horizontal',
                        left: 'center',
                        min: 10,
                        max: 100,
                        text: ['High Score', 'Low Score'],
                        // Map the score column to color
                        dimension: 0,
                        inRange: {
                            color: ['#65B581', '#FFCE34', '#FD665F']
                        }
                    },
                    series: [
                        {
                            type: 'bar',
                            encode: {
                                // Map the "amount" column to X axis.
                                x: 'amount',
                                // Map the "product" column to Y axis
                                y: 'product'
                            }
                        }
                    ],
                }
            }, // echarts统计图模板 object
            interval: -1, // 定时器间隔（毫秒） number
            page: 0,
            highlight: false,
            locked: false // 组件所属页面
        },
        animate: [],
        event: [],
        data: {
            url: '',// 服务地址
            key: [],// 服务返回对象所选中的array的级联key
            type: 'static',// dynamic 静态数据或接口返回数据
            datatype: 'json', // xml,csv 接口返回数据类型
            method: '0', // 0 get请求、1 post请求 // xml,csv 接口返回数据类型
            field: [],
            value: [], // 二维数组 存静态数据 二维数组
        },
    }
];
export default Template;